package com.magicalcoder.youyaboot.model;

import org.springframework.format.annotation.DateTimeFormat;
import com.fasterxml.jackson.annotation.JsonFormat;
import java.util.Date;
import java.sql.Time;
import java.sql.Timestamp;
import java.math.*;
import java.io.Serializable;
import lombok.Data;
/**
* 代码为自动生成 Created by www.magicalcoder.com
* 软件作者：何栋宇 qq:709876443
* 如果你改变了此类 read 请将此行删除
* 欢迎加入官方QQ群:648595928
*/
@Data
public class StuInfo implements Serializable{

    private Long id;//id
    private String stuName;//学生姓名
    private String stuGender;//学生性别
    private String stuAge;//学生年龄
    private String stuPhoto;//学生头像
    private Integer deptId;//部门编号
    @DateTimeFormat( pattern = "yyyy-MM-dd HH:mm:ss" )
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone="GMT+8")
    private Timestamp createTime;//创建时间

    
    public Long getId(){
        return id;
    }
    public void setId(Long id){
        this.id = id;
    }

    public String getStuName(){
        return stuName;
    }
    public void setStuName(String stuName){
        this.stuName = stuName;
    }

    public String getStuGender(){
        return stuGender;
    }
    public void setStuGender(String stuGender){
        this.stuGender = stuGender;
    }

    public String getStuAge(){
        return stuAge;
    }
    public void setStuAge(String stuAge){
        this.stuAge = stuAge;
    }

    public String getStuPhoto(){
        return stuPhoto;
    }
    public void setStuPhoto(String stuPhoto){
        this.stuPhoto = stuPhoto;
    }

    public Integer getDeptId(){
        return deptId;
    }
    public void setDeptId(Integer deptId){
        this.deptId = deptId;
    }

    public Timestamp getCreateTime(){
        return createTime;
    }
    public void setCreateTime(Timestamp createTime){
        this.createTime = createTime;
    }
}
